import type { RouteRecordRaw } from 'vue-router';

import { BasicLayout } from '#/layouts';
// import { $t } from '#/locales';

const routes: RouteRecordRaw[] = [
  {
    component: BasicLayout,
    meta: {
      icon: 'lucide:settings',
      order: 4,
      // title: $t('page.menus.systemSettings'),
      title: '设置',
      hideChildrenInMenu: true,
    },
    name: 'system',
    path: '/system',
    children: [
      {
        name: 'system-setting',
        path: '/system-setting',
        component: () => import('#/views/system/system.vue'),
        meta: {
          icon: '',
          // title: $t('page.menus.systemSettings'),
          title: '设置',
          id: 8,
          affixTab: true,
          menuVisible: true,
        },
      },
    ],
  },
];

export default routes;
